.container {
  background-color: #f4f4f4;
  min-height: 100vh;
  position: relative;
}

/* 提示信息样式 */
.hintContainer {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
}

.hint {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  animation: fadeInOut 2s;
}

@keyframes fadeInOut {
  0%,
  100% {
    opacity: 0;
  }
  15%,
  85% {
    opacity: 1;
  }
}

/* 顶部导航 */
/* 顶部导航栏 - 保持不变 */
.top {
  position: fixed;
  top: 0;
  width: 100%;
  height: 44px;
  background-color: #fff;
  display: flex;
  align-items: center;
  border-bottom: 0.5px solid #eaeaea;
  z-index: 100;
}

.top img {
  width: 24px;
  height: 24px;
  margin-left: 12px;
}

.top b {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 17px;
  font-weight: 600;
  color: #333;
}

/* 表单内容 */
.content {
  background: white;
  width: 95%;
  padding: 0 12px;
  margin-top: 54px;
}

.contentItem {
  display: flex;
  align-items: center;
  padding: 12px 0;
}

.contentItem input {
  flex: 1;
  border: none;
  outline: none;
  padding: 8px;
  font-size: 14px;
}

.divider {
  height: 1px;
  background-color: #e3e3e3;
  margin: 0 8px;
}

/* 默认地址开关 */
.defaultAddress {
  background: white;
  width: 95%;
  margin-top: 16px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 14px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.checked {
  background-color: #ff0000;
}

.checked:before {
  transform: translateX(28px);
}

/* 保存按钮 */
.saveButton {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: rgba(255, 0, 0, 1);
  border: 1px solid rgba(255, 0, 0, 1);
  color: white;
  text-align: center;
  padding: 16px;
  cursor: pointer;
  font-size: 16px;
}
/* 新增可访问性相关样式 */
.backIcon {
  cursor: pointer;
  transition: opacity 0.2s;
}

.backIcon:focus {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}

.inputLabel {
  font-size: 14px;
  min-width: 70px;
}

.inputField {
  flex: 1;
  padding: 8px;
  border: none;
  outline: none;
  font-size: 14px;
}

.inputField:focus {
  box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.3);
}

.switchContainer {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.switchTrack {
  position: relative;
  width: 50px;
  height: 28px;
  background-color: #ccc;
  border-radius: 14px;
  transition: background-color 0.3s;
}

.switchThumb {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

.switchChecked {
  background-color: rgba(255, 0, 0, 1);
}

.switchChecked .switchThumb {
  transform: translateX(22px);
}

.switchContainer:focus .switchTrack {
  box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.3);
}

/* 保持其他原有样式不变 */
